﻿using System;

namespace DefenseQuestion.Application
{
    public class ResultDto
    {
        public Result Code { get; set; }
        public string Message { get; set; }
    }
    public class ResultDto<T>:ResultDto
    {
        public T Data { get; set; }
    }
    public enum Result
    {
        Success=200, Failure=500
    }
}
